package com.ruoyi.content.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 服务站表 con_station
 * 
 * @author cloudoer
 * @date 2019-07-11
 */
public class Station extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long stationId;
	/** 服务站名称 */
	private String stationName;
	/** 显示排名 */
	private String stationRanking;
	/** 服务站状态（0：修建中，1：营业中，2：暂停营业中，3：已关闭） */
	private String stationState;
	/** 服务站电话 */
	private String phone;
	/** 服务站地址 */
	private String address;
	/** 洗车数量 */
	private Long washNumber;
	/** 开业时间 */
	private Date openTime;
	/**  */
	private Long articleId;

	private Article article;


	public void setStationId(Long stationId) 
	{
		this.stationId = stationId;
	}

	public Long getStationId() 
	{
		return stationId;
	}
	public void setStationName(String stationName) 
	{
		this.stationName = stationName;
	}

	public String getStationName() 
	{
		return stationName;
	}
	public void setStationState(String stationState) 
	{
		this.stationState = stationState;
	}

	public String getStationState() 
	{
		return stationState;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setWashNumber(Long washNumber) 
	{
		this.washNumber = washNumber;
	}

	public Long getWashNumber() 
	{
		return washNumber;
	}
	public void setOpenTime(Date openTime) 
	{
		this.openTime = openTime;
	}

	public Date getOpenTime() 
	{
		return openTime;
	}
	public void setArticleId(Long articleId) 
	{
		this.articleId = articleId;
	}

	public Long getArticleId() 
	{
		return articleId;
	}

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public String getStationRanking() {
		return stationRanking;
	}

	public void setStationRanking(String stationRanking) {
		this.stationRanking = stationRanking;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stationId", getStationId())
            .append("stationName", getStationName())
			.append("stationRanking", getStationRanking())
            .append("stationState", getStationState())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("washNumber", getWashNumber())
            .append("openTime", getOpenTime())
            .append("articleId", getArticleId())
            .toString();
    }
}
